MenuButton.setLabel

Sets the label to show inside the menu button.

Setting a label resets [property@Gtk.MenuButton:icon-name] and [property@Gtk.MenuButton:child].

If [property@Gtk.MenuButton:direction] is not GTK_ARROW_NONE, a dropdown arrow will be shown next to the label.

class MenuButton
void
setLabel
(
string label
)

Parameters

label string

the label

Meta